/**
 * 
 */
package com.geekteam.geometrychess.utils;

import com.smartfoxserver.v2.entities.User;
import com.smartfoxserver.v2.entities.data.ISFSObject;
import com.smartfoxserver.v2.entities.data.SFSObject;

/**
 * @author MtRol
 *
 */
public class Utils {
	public static ISFSObject toSFSObject(User user){
		ISFSObject object = new SFSObject();
		object.putUtfString("name", user.getName());
		object.putInt("sfsId", user.getId());
		return object;
	}
}
